package com.dongdongqiang.common.base;

import javax.persistence.Column;
import java.util.Date;

/**
 * 基本Entity
 * Created by ZZB on 2017/9/3.
 */
public class BaseEntity {
    @Column(name = "id")
    private String id;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "creator")
    private String creator;
    @Column(name = "update_time")
    private Date updateTime;
    @Column(name = "updater")
    private String updater;
    @Column(name = "activate")
    private boolean activate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public boolean getActivate() {
        return activate;
    }

    public void setActivate(boolean activate) {
        this.activate = activate;
    }
}
